package com.tjdr.his.drugstore.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tjdr.his.domain.entity.GiveBackRecords;

import java.util.List;

public interface IGiveBackRecordsService {

    /**
     * 根据条件查询相关的记录
     * @param records
     * @return
     */
    IPage getGiveBackRecordsByProperty(GiveBackRecords records,int pageSize,int currentPage);


    List getGiveBackRecords();

    /**
     * 保存交易记录
     * @param record
     * @return
     */
    int saveGiveBackRecords(GiveBackRecords record);
}
